import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router);
const Index = () => import(/* webpackChunkName: "home" */ '../views/Index.vue');
const Home = () => import(/* webpackChunkName: "home" */ '../views/home/Home.vue');
export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      redirect:'/home'
    },
    {
      path: '/home',
      name: 'Home',
      component: Home
    }
  ]
})
